package com.yy.invoice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yy.invoice.entity.Result;
import com.yy.invoice.entity.User;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yang1yu
 * @since 2022-09-27
 */
public interface UserService extends IService<User> {

    Result login(User user);

    Result register(User user);

    Result loginOut();

    Result get(HttpServletRequest request);

    Result checkUsername(String username);

    Result updateUser(User user,HttpServletRequest request);

    Result reset(User user);
}
